feat: bump typed-express-router to 2.0.0 #109
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR upgrades
@api-ts/typed-express-routerfrom version^1.1.13to2.0.0to take advantage of the latest features and improvements in the typed Express router library.Changes
@api-ts/typed-express-routerdependency from^1.1.13to^2.0.0inpackage.jsonpackage-lock.jsonwith all updated dependenciesAnalysis
After analyzing the codebase, I found that:
5 files use
createRouterfrom@api-ts/typed-express-router:src/advancedWalletManager/routers/advancedWalletManagerApiSpec.tssrc/advancedWalletManager/routers/healthCheck.tssrc/api/master/routers/awmExpressHealth.tssrc/api/master/routers/healthCheck.tssrc/api/master/routers/masterBitGoExpressApiSpec.tsAll required exports remain available:
createRouter,TypedRequestHandler, andWrappedRouterare all present in v2.0.0.The upgrade is straightforward since we only use the basic router creation functionality and don't rely on any of the deprecated error handling patterns.
Fixes #108.
Ticket: DX-1672
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.